﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    assembly="SAKS.Models"
    namespace="SAKS.Models">
  <class name="PersonInfo">
    <id name="Id" column="Id">
      <generator class ="guid.comb" />
    </id>
    <version name="Version" />
      
    <property name="Name" not-null="true"/>
    <property name="Gender" not-null="true"/>
    <property name="BirthDay" not-null="true"/>
    
    <property name="TechnicalTitle" />
    <property name="HighestDegree" />
    <property name="Major" />
    <property name="Occupation" />
    <property name="UserName" unique="true"/>
    
  </class>

</hibernate-mapping>